<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>登录页面</title>
<style type="text/css">
	body{
		background-color:#AAEEFF;
	}
	#center{	
		margin:180px;	
		text-align:center;
	}
	.table1{
		font-size:14px;
		
		border-top-color:#FF0000;
	}
	.button1{
		background:#FFFFDD;
		font-weight:bold;
		width:70px;
	}
</style>
<script type="text/javascript">
	function goBack(){
		window.location.href="studentServlet?action=SearchStudnetInfo";
	}
</script>
</head>
<body>
	<div id="center">
	<h2>修改学生信息</h2>
	
	<form action="studentServlet?action=UpdateStudentInfo&studentID=${entity.studentID }&sourceID=${entity.sourceInfoEntity.sourceID}" method="post">
	
	<table align="center"  width="250" height="160" border="0" cellpadding="0" cellspacing="0" class="table1">
	
		<tr>
			<td>姓名：</td>
			<td><input type="text" name="studentName" value="${entity.studentName}"></td>
		</tr>
		<tr>
			<td>课程名：</td>
			<td><input type="text" name="sourceName" value="${entity.sourceInfoEntity.sourceName}"></td>
		</tr>
		<tr>
			<td>成绩：</td>
			<td><input type="text" name="score" value="${entity.scoreInfoEntity.score}"></td>
		</tr>
	
	</table>
	<br>	
	<input  type="submit" class="button1" value="修改">
	<input type="button" class="button1" value="返回" onclick="goBack()">
	</form>
	
	</div>
</body>
</html>